home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v9n22.arc
/
MWHERE
< prev
next >
Wrap
Text File
|
1990-12-04
|
1KB
|
53 lines
############################################################################
# #
# MAKEFILE for the DESKTOP #
# #
############################################################################
# Compiler is 'M' for Microsoft, 'T' for Borland Turbo C
COMPILER = M
# Model is
# 1) Microsoft C - 'M' for Medium, 'L' for Large
# 2) Turbo C - 'm' for medium, 'l' for large
MODEL = L
# Microsoft C macros
CC = cl
OPT = /Oait
DEBUG = /Od /Zi
CFLAGS = /c /A$(MODEL) /J /DMSC /DDOS /Ic:\mewel /DMEWEL $(OPT)
ASM = masm
# LMODEL should be 1 if you want large data
ASMFLAGS = /DLMODEL=0 /DTC=0
LIB = lib
LINK = link
LFLAGS = /packcode /f /stack:8192
# We tack the compiler and model onto the end of the library name, so
# the library for Borland's Turbo C, medium model would be called WINLIBTM.LIB
# Inference rules for C and ASM files
.c.obj :
$(CC) $(CFLAGS) $*.c
.asm.obj :
$(ASM) $(ASMFLAGS) $*;
DEMO = mwhere
OBJS = winwhere.obj
OBJ = winwhere
all : $(OBJS)
winwhere.obj : winwhere.c
$(DEMO).res : $(DEMO).rc
c:\mewel\rc $(DEMO).rc
$(DEMO).exe : $(OBJS) $(DEMO).res
# Microsoft
$(LINK) $(LFLAGS) $(OBJ),$(DEMO),nul,c:\mewel\winlibml;
c:\mewel\rc $(DEMO).res